import request from '@/utils/request'

// 查询店铺基本配置列表
export function listConfigBase(data) {
  return request({
    url: '/market/configBase/configBaseList',
    method: 'post',
    data: data
  })
}

// 查询店铺基本配置详细
export function getConfigBase(data) {
  return request({
    url: '/market/configBase/getConfigBase',
    method: 'post',
    data: data
  })
}

// 新增店铺基本配置
export function addConfigBase(data) {
  return request({
    url: '/market/configBase',
    method: 'post',
    data: data
  })
}

// 保存店铺基本配置
export function saveConfigBase(data) {
  return request({
    url: '/market/configBase/save',
    method: 'post',
    data: data
  })
}

// 修改店铺基本配置
export function updateConfigBase(data) {
  return request({
    url: '/market/configBase',
    method: 'put',
    data: data
  })
}

// 删除店铺基本配置
export function delConfigBase(configBaseId) {
  return request({
    url: '/market/configBase/' + configBaseId,
    method: 'delete'
  })
}

